package com.ljx.recruitment.interview.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.recruitment.interview.domain.entity.Job;
import com.ljx.recruitment.interview.domain.vo.resp.DashboardJobCategoryResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JobMapper extends BaseMapper<Job> {
    void removeJobLocation(Long id);

    void batchSaveJobLocation(@Param("jobId") Long id, @Param("list") List<Long> jobLocationIds);

    List<DashboardJobCategoryResp> getTenantJobCategory(Long tenantId);
}
